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

Question: is $ref the official recommendation for property objects? #36

Open
dubnemo opened this issue Aug 3, 2022 · 0 comments
Open

Comments

@dubnemo
Copy link

dubnemo commented Aug 3, 2022

GeoJSON seems to leave the 'properties' property (don't get me going) wide open to the implementer.

          "properties": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "type": "object"
              }
            ]

There have been discussions in agricultural use cases that we can potential use the $ref approach to refer to an externally defined schema for the 'properties' representation for more complex objects, such as products applied to a field where the substance composition of the product (array) may be helpful include an array of registration identifiers (PRMA in Canada, EPA in the USA, Chemical Abstract Service, etc.).

Some still argue that the world is flat, and that a simple name-value pair is best.

Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant