Skip to content

Commit

Permalink
Update json-schema to draft-07
Browse files Browse the repository at this point in the history
This draft has no breaking changes for OGRP since draft-04.

Change-Id: I09c74fecd36ad67842837d5a1597cce67b2d0d50
  • Loading branch information
Manuel Stahl committed Oct 31, 2024
1 parent ae9a493 commit 32d7f10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ An example how to extend the OGRP core schema:

```JSON
{
"id": "http://example.org/pvt-input-schema#",
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "http://example.org/pvt-input-schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Minimum schema for a PVT application",
"type": "object",
"properties": {
Expand Down Expand Up @@ -244,6 +244,6 @@ References
RFC 7464, DOI 10.17487/RFC7464, February 2015, <https://tools.ietf.org/html/rfc7464>
* <a name="json-schema">**[json-schema]**</a>:
Wright, A., "JSON Schema: A Media Type for Describing JSON Documents",
draft-wright-json-schema-01 (work in progress), October 2016.
<https://tools.ietf.org/html/draft-wright-json-schema-01>
draft-handrews-json-schema-01 (work in progress), March 2018.
<https://json-schema.org/draft-07/draft-handrews-json-schema-01>
<http://json-schema.org/>
4 changes: 2 additions & 2 deletions draft-00/schema
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id":"https://fraunhofer-iis.github.io/ogrp/draft-00/schema#",
"$schema":"http://json-schema.org/draft-04/schema#",
"$id":"https://fraunhofer-iis.github.io/ogrp/draft-00/schema#",
"$schema":"http://json-schema.org/draft-07/schema#",
"description":"Minimum schema for a PVT application",
"type":"object",
"properties":{
Expand Down
4 changes: 2 additions & 2 deletions draft-01/schema
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id":"https://fraunhofer-iis.github.io/ogrp/draft-01/schema#",
"$schema":"http://json-schema.org/draft-04/schema#",
"$id":"https://fraunhofer-iis.github.io/ogrp/draft-01/schema#",
"$schema":"http://json-schema.org/draft-07/schema#",
"description":"Minimum schema for a PVT application",
"type":"object",
"properties":{
Expand Down

0 comments on commit 32d7f10

Please sign in to comment.