diff --git a/integration-test/src/test/resources/schemas/examples/array.json b/integration-test/src/test/resources/schemas/examples/array.json index 996f890..0b6b8d6 100644 --- a/integration-test/src/test/resources/schemas/examples/array.json +++ b/integration-test/src/test/resources/schemas/examples/array.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/combined-schema.json b/integration-test/src/test/resources/schemas/examples/combined-schema.json index 376b638..ffbb5ec 100644 --- a/integration-test/src/test/resources/schemas/examples/combined-schema.json +++ b/integration-test/src/test/resources/schemas/examples/combined-schema.json @@ -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": { diff --git a/integration-test/src/test/resources/schemas/examples/enum.json b/integration-test/src/test/resources/schemas/examples/enum.json index b5c4f8a..4285122 100644 --- a/integration-test/src/test/resources/schemas/examples/enum.json +++ b/integration-test/src/test/resources/schemas/examples/enum.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/plugins/add-additional-properties-plugin.json b/integration-test/src/test/resources/schemas/examples/plugins/add-additional-properties-plugin.json index db5e0da..b9402dc 100644 --- a/integration-test/src/test/resources/schemas/examples/plugins/add-additional-properties-plugin.json +++ b/integration-test/src/test/resources/schemas/examples/plugins/add-additional-properties-plugin.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/plugins/add-hashcode-and-equals-plugin.json b/integration-test/src/test/resources/schemas/examples/plugins/add-hashcode-and-equals-plugin.json index 0e6a254..941d438 100644 --- a/integration-test/src/test/resources/schemas/examples/plugins/add-hashcode-and-equals-plugin.json +++ b/integration-test/src/test/resources/schemas/examples/plugins/add-hashcode-and-equals-plugin.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/plugins/add-to-string-method-to-class.json b/integration-test/src/test/resources/schemas/examples/plugins/add-to-string-method-to-class.json index 2c3f4df..9bcac5f 100644 --- a/integration-test/src/test/resources/schemas/examples/plugins/add-to-string-method-to-class.json +++ b/integration-test/src/test/resources/schemas/examples/plugins/add-to-string-method-to-class.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/plugins/custom-return-types-plugin.json b/integration-test/src/test/resources/schemas/examples/plugins/custom-return-types-plugin.json index 6b117e8..02832dd 100644 --- a/integration-test/src/test/resources/schemas/examples/plugins/custom-return-types-plugin.json +++ b/integration-test/src/test/resources/schemas/examples/plugins/custom-return-types-plugin.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/plugins/format-custom-return-types-plugin.json b/integration-test/src/test/resources/schemas/examples/plugins/format-custom-return-types-plugin.json index 457de74..ccc5f10 100644 --- a/integration-test/src/test/resources/schemas/examples/plugins/format-custom-return-types-plugin.json +++ b/integration-test/src/test/resources/schemas/examples/plugins/format-custom-return-types-plugin.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/plugins/generate-builder-for-class-plugin.json b/integration-test/src/test/resources/schemas/examples/plugins/generate-builder-for-class-plugin.json index 7380911..fcf776e 100644 --- a/integration-test/src/test/resources/schemas/examples/plugins/generate-builder-for-class-plugin.json +++ b/integration-test/src/test/resources/schemas/examples/plugins/generate-builder-for-class-plugin.json @@ -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" diff --git a/integration-test/src/test/resources/schemas/examples/vanilla-pojo.json b/integration-test/src/test/resources/schemas/examples/vanilla-pojo.json index e5779b4..dd9d4ae 100644 --- a/integration-test/src/test/resources/schemas/examples/vanilla-pojo.json +++ b/integration-test/src/test/resources/schemas/examples/vanilla-pojo.json @@ -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": {