Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
add id to json schemas for example integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amckenzie committed Oct 25, 2017
1 parent 5b8a437 commit 7a3b150
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/arrays/recipe-with-array.json",
"properties": {
"name": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/combined/schema/address-from-combined-schema.json",
"title": "Address",
"additionalProperties": true,
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/enums/person-with-enum.json",
"properties": {
"name": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/additional/properties/person-with-additional-properties.json",
"properties": {
"firstName": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/equals/person-with-hash-code-and-equals.json",
"properties": {
"firstName": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/string/student-with-to-string.json",
"properties": {
"firstName": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/customreturntypes/employee-with-custom-return-types.json",
"properties": {
"employeeId": {
"$ref": "#/definitions/uuid"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/formatcustomreturntypes/employee-with-format-custom-return-type.json",
"properties": {
"firstName": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"id": "http://justice.gov.uk/events/pojo/builder/student-pojo-with-builder.json",
"properties": {
"firstName": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "",
"id": "http://justice.gov.uk/events/pojo/vanilla/teen.json",
"type": "object",
"properties": {
"name": {
Expand Down

0 comments on commit 7a3b150

Please sign in to comment.