summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/external_validation.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/external_validation.json')
-rw-r--r--spec/fixtures/api/schemas/external_validation.json15
1 files changed, 9 insertions, 6 deletions
diff --git a/spec/fixtures/api/schemas/external_validation.json b/spec/fixtures/api/schemas/external_validation.json
index 1bd00a2e6fc..3ff71626cc0 100644
--- a/spec/fixtures/api/schemas/external_validation.json
+++ b/spec/fixtures/api/schemas/external_validation.json
@@ -11,11 +11,13 @@
"type": "object",
"required": [
"id",
- "path"
+ "path",
+ "created_at"
],
"properties": {
"id": { "type": "integer" },
- "path": { "type": "string" }
+ "path": { "type": "string" },
+ "created_at": { "type": ["string", "null"], "format": "date-time" }
}
},
"user": {
@@ -23,12 +25,14 @@
"required": [
"id",
"username",
- "email"
+ "email",
+ "created_at"
],
"properties": {
"id": { "type": "integer" },
"username": { "type": "string" },
- "email": { "type": "string" }
+ "email": { "type": "string" },
+ "created_at": { "type": ["string", "null"], "format": "date-time" }
}
},
"pipeline": {
@@ -70,6 +74,5 @@
}
}
}
- },
- "additionalProperties": false
+ }
}