Skip to main content

Schema-generatie tooling

Project description

ZDS-Schema voorziet een generieke API schema-generatiestrategie die gedeeld wordt tussen verschillende componenten betrokken in zaakgericht werken.

1 Features

  • Centraal beheer van cosntanten die de verschillende componenten overstijgen

  • GeoJSON OpenAPI definities

  • Support voor Geo CRS negotation

  • Ingebouwde support voor nested viewsets met declaratievere syntax voor registratie

  • Vaak voorkomende validators:
    • RSIN/BSN validator

    • Numerieke waarde validator

    • Niet-negatieve waarde validator

    • Alfanumerieke waarde (zonder diacritics)

    • URL-validator (test dat URL bestaat) met pluggable link-checker

    • UntilNowValidator - valideer datetimes tot en met nu.

    • Unieke-identificatievalidator (in combinatie met organisatie)

  • Custom inspectors voor drf-yasg:
    • Support voor rest_framework_gis GeometryField

    • URL-based related resource filtering (django-filter support)

    • verzameling van mogelijke error-responses per operation

  • Management command generate_swagger overloaded
    • neemt default versie mee en maakt server-informatie domein-agnostisch

    • optie om informatiemodel-resources naar markdown te renderen met backlinks naar gemmaonline.nl

  • Support voor ISO 8601 durations

  • Custom model fields:
    • RSINField

    • BSNField

    • LanguageField

    • VertrouwelijkheidsAanduidingField

    • DaysDurationField

2 Installatie

2.1 Benodigdheden

  • Python 3.6 of hoger

  • setuptools 30.3.0 of higher

2.2 Installeren

pip install zds_schema

3 Gebruik

Zie de referentie-implementaties voor ZRC, DRC, BRC en ZTC.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zds-schema-0.4.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

zds_schema-0.4.0-py2.py3-none-any.whl (31.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zds-schema-0.4.0.tar.gz.

File metadata

  • Download URL: zds-schema-0.4.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for zds-schema-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2c3d09ed45c2af07de178c9732d35c1e83fc37a7546377129d4639895828cf6a
MD5 42f41eda0ae273ff8cdff471c9f03a11
BLAKE2b-256 3a19f7d4fa3bc3adfbeb7b56548f7c2b1f4dd042b86ac96880bc236e372e128d

See more details on using hashes here.

File details

Details for the file zds_schema-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: zds_schema-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for zds_schema-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 63597bc87298cd8cd05345dd7548932c5d9449f913a78ec257434eb4731a975d
MD5 5e3b0e67ca924fc877d90febb32bf475
BLAKE2b-256 6c58fbf3d774f86db3a8646bb72291d6ad4f17e489f4811ca189e8cb3c9313f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page