Skip to content

Commit

Permalink
Use gdbots/schemas v1.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbrown committed May 12, 2019
1 parent 6cf70c9 commit 2eb1f09
Show file tree
Hide file tree
Showing 17 changed files with 783 additions and 37 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG


## v1.2.10
* Use `gdbots/schemas` v1.5.11.


## v1.2.9
* Use `gdbots/schemas` v1.5.10.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "Apache-2.0",
"require": {
"php": ">=7.1",
"gdbots/schemas": "1.5.10"
"gdbots/schemas": "1.5.11"
},
"require-dev": {
"phpunit/phpunit": "^6.4",
Expand Down
10 changes: 10 additions & 0 deletions gh-pages/json-schema/acme/iam/node/android-app/1-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,16 @@
"type": "string",
"rule": "single"
}
},
"fcm_api_key": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of legacy-server-key that can be obtained from the cloud messaging tab of the Firebase console. @link https://firebase.google.com/docs/cloud-messaging/auth-server",
"pbj": {
"type": "text",
"rule": "single"
}
}
},
"required": [
Expand Down
10 changes: 10 additions & 0 deletions gh-pages/json-schema/acme/iam/node/android-app/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,16 @@
"type": "string",
"rule": "single"
}
},
"fcm_api_key": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of legacy-server-key that can be obtained from the cloud messaging tab of the Firebase console. @link https://firebase.google.com/docs/cloud-messaging/auth-server",
"pbj": {
"type": "text",
"rule": "single"
}
}
},
"required": [
Expand Down
10 changes: 10 additions & 0 deletions gh-pages/json-schema/acme/iam/node/ios-app/1-0-0.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,16 @@
"type": "string",
"rule": "single"
}
},
"fcm_api_key": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of legacy-server-key that can be obtained from the cloud messaging tab of the Firebase console. @link https://firebase.google.com/docs/cloud-messaging/auth-server",
"pbj": {
"type": "text",
"rule": "single"
}
}
},
"required": [
Expand Down
10 changes: 10 additions & 0 deletions gh-pages/json-schema/acme/iam/node/ios-app/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,16 @@
"type": "string",
"rule": "single"
}
},
"fcm_api_key": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of legacy-server-key that can be obtained from the cloud messaging tab of the Firebase console. @link https://firebase.google.com/docs/cloud-messaging/auth-server",
"pbj": {
"type": "text",
"rule": "single"
}
}
},
"required": [
Expand Down
214 changes: 214 additions & 0 deletions gh-pages/json-schema/gdbots/iam/mixin/android-app/1-0-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
{
"id": "http://acme-schemas.gdbots.io/json-schema/gdbots/iam/mixin/android-app/1-0-2.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"_id": {
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$",
"pbj": {
"type": "identifier",
"rule": "single"
}
},
"status": {
"type": "string",
"default": "draft",
"enum": [
"unknown",
"published",
"scheduled",
"pending",
"draft",
"expired",
"archived",
"deleted"
],
"pbj": {
"type": "string-enum",
"rule": "single"
}
},
"etag": {
"type": "string",
"pattern": "^[\\w\\.:-]+$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"created_at": {
"type": "string",
"pattern": "^[1-9]{1}[0-9]{12,15}$",
"pbj": {
"type": "microtime",
"rule": "single"
}
},
"creator_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A fully qualified reference to what created this node. This is intentionally a message-ref and not a user id because it is often a program that creates nodes, not a user.",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"updated_at": {
"type": "string",
"pattern": "^[1-9]{1}[0-9]{12,15}$",
"pbj": {
"type": "microtime",
"rule": "single",
"useTypeDefault": false
}
},
"updater_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A fully qualified reference to what updated this node. This is intentionally a message-ref and not a user id because it is often a program that updates nodes, not a user. E.g. \"acme:iam:node:app:cli-scheduler\" or \"acme:iam:node:user:60c71df0-fda8-11e5-bfb9-30342d363854\"",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"last_event_ref": {
"type": "object",
"properties": {
"curie": {
"type": "string",
"pattern": "^([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+)$",
"minLength": 0,
"maxLength": 146
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9:_\\-]+$",
"minLength": 0,
"maxLength": 255
},
"tag": {
"type": "string",
"pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
"minLength": 0,
"maxLength": 255
}
},
"required": [
"curie",
"id"
],
"additionalProperties": false,
"description": "A reference to the last event that changed the state of this node. E.g. \"acme:blog:event:article-published:60c71df0-fda8-11e5-bfb9-30342d363854\"",
"pbj": {
"type": "message-ref",
"rule": "single"
}
},
"title": {
"type": "string",
"minLength": 0,
"maxLength": 255,
"pbj": {
"type": "string",
"rule": "single"
}
},
"roles": {
"type": "array",
"items": [
{
"type": "string",
"pattern": "^[\\w\\/\\.:-]+$"
}
],
"uniqueItems": true,
"additionalProperties": false,
"description": "The roles determine what permissions this app will have when using the system. The role itself is a node which has a set of \"allow\" and \"deny\" rules.",
"pbj": {
"type": "identifier",
"rule": "set"
}
},
"azure_notification_hub_connection": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of connection-string (starts with Endpoint=sb://) that can be obtained from Azure portal. @link https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-nodejs-push-notification-tutorial",
"pbj": {
"type": "text",
"rule": "single"
}
},
"azure_notification_hub_name": {
"type": "string",
"pattern": "^[\\w\\.-]+$",
"pbj": {
"type": "string",
"rule": "single"
}
},
"fcm_api_key": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of legacy-server-key that can be obtained from the cloud messaging tab of the Firebase console. @link https://firebase.google.com/docs/cloud-messaging/auth-server",
"pbj": {
"type": "text",
"rule": "single"
}
}
},
"required": [
"_id"
],
"additionalProperties": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ <h1>Gdbots Acme Schemas</h1>
<a href="../">../</a>
<a href="1-0-0.json">1-0-0.json</a>
<a href="1-0-1.json">1-0-1.json</a>
<a href="1-0-2.json">1-0-2.json</a>
<a href="latest.json">latest.json</a>
</pre>
</body>
Expand Down
12 changes: 11 additions & 1 deletion gh-pages/json-schema/gdbots/iam/mixin/android-app/latest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "http://acme-schemas.gdbots.io/json-schema/gdbots/iam/mixin/android-app/1-0-1.json#",
"id": "http://acme-schemas.gdbots.io/json-schema/gdbots/iam/mixin/android-app/1-0-2.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
Expand Down Expand Up @@ -195,6 +195,16 @@
"type": "string",
"rule": "single"
}
},
"fcm_api_key": {
"type": "string",
"minLength": 0,
"maxLength": 65535,
"description": "An encrypted value of legacy-server-key that can be obtained from the cloud messaging tab of the Firebase console. @link https://firebase.google.com/docs/cloud-messaging/auth-server",
"pbj": {
"type": "text",
"rule": "single"
}
}
},
"required": [
Expand Down
Loading

0 comments on commit 2eb1f09

Please sign in to comment.