datacontract / datacontract-specification

The Data Contract Specification Repository
https://datacontract.com/
MIT License
278 stars 41 forks source link

Field type and Definition type inconsistant in json schema #42

Closed torbenkeller closed 7 months ago

torbenkeller commented 8 months ago

In the readme, Definition.type refers to Data Type but in the json schema every string is allowed.

    "Definition": {
      "type": "object",
      "title": "Definition",
      "properties": {
       ...
        "type": {
          "type": "string",
          "description": "The logical data type."
        },
jochenchrist commented 7 months ago

@torbenkeller Thanks for reporting. Do you have time to create a Pull Request to resolve this issue?