Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schemas voor BeSt address #3

Open
smals-vea opened this issue May 15, 2020 · 4 comments
Open

Schemas voor BeSt address #3

smals-vea opened this issue May 15, 2020 · 4 comments

Comments

@smals-vea
Copy link

Voor de BeSt Address, zullen we een reusable schema voorstellen?
zoals bvb:
Address

  • streetName (max 300?)
  • houseNumber (max 12)
  • boxNumber (max 10)
  • municipalityName (max ?) (en niet postName zoals soms sommige denken dat het beter/juist is )
  • postCode (max 15, BE max 4)
  • ....
    Wat zou er in zo’n adres moeten staan: alleen de adres-representatie? Of ook de BeSt IDs voor adres, straat, gemeente, …? Regiocode?
@pvdbosch
Copy link
Contributor

Some relevant documentation:

@MarcBruyland
Copy link

max. lengte van velden in BEST-data van eind maart 2020:

(base) C:\Users\marc.bruyland\OneDrive - GCloud Belgium\Documents\PRJ_BEST\Data>python BEST_Tools_MaxLength.py

Street
nl 42 ['Albert en Marie-Louise Servais-Kinetstraat']
fr 54 ['Rue Marie-Christine Pironnet (Rue de la Waide Lonneux)']
de 31 ['Lager-Camp Elsenborn,Zosterbach']

Municipality
nl 22 ['Sint-Lambrechts-Woluwe']
fr 26 ['Ottignies-Louvain-la-Neuve']
de 21 ['Scherpenheuvel-Zichem']

PostalInfo
nl 210 ["Berg (Limb.)/Diets-Heur/Haren (Tongeren)/Henis/Kolmont (Tongeren)/Koninksem/Lauw/Mal/Neerrepen/Nerem/Overrepen (Kolmont)/Piringen (Haren)/Riksingen/Rutten/'s Herenelderen/Sluizen/Tongeren/Vreren/Widooie (Haren)"]
fr 50 ['Schaerbeek + Bruxelles (Pont Van Praet, Teichmann)']
de 0 []

Address
hs 11 ['2.........0']
bx 35 ['0004-blok A,inkom links-1ste rechts', '0004-blok B,inkom links-1ste rechts', '0002-1ste rechts(kant hoogboomstwg)']

@pvdbosch
Copy link
Contributor

scope if this issue is the Belgian address (BeSt).
A more generic address that includes foreign address would be more liberal in structure.

@MarcBruyland will look up existing schemas used for REST services

@pvdbosch
Copy link
Contributor

pvdbosch commented Jun 3, 2020

relevant BOSA doc on BeSt services: https://dtservices.bosa.be/sites/default/files/content/best_services_userguide_v1.4.pdf

This page links to services with WSDL and XSDs.

At the bottom there are some "REST" services but looking further at the linked SoapUI projects, they aren't really proper REST APIs (XML instead of JSON, no URI parameters, not following the REST guide at all, ...); just SOAP services without the SOAP envelope.

@pvdbosch pvdbosch transferred this issue from belgif/rest-guide Aug 17, 2020
@pvdbosch pvdbosch added this to To do in openapi-schemas Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants