generated from salesforcecli/plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f584bd0
commit 695e674
Showing
6 changed files
with
211 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$ref": "#/definitions/SfOrgs", | ||
"definitions": { | ||
"SfOrgs": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/SfOrg" | ||
} | ||
}, | ||
"SfOrg": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/Optional%3CAnyJson%3E" | ||
}, | ||
"properties": { | ||
"alias": { | ||
"type": "string" | ||
}, | ||
"username": { | ||
"type": "string" | ||
}, | ||
"orgId": { | ||
"type": "string" | ||
}, | ||
"instanceUrl": { | ||
"type": "string" | ||
}, | ||
"accessToken": { | ||
"type": "string" | ||
}, | ||
"oauthMethod": { | ||
"type": "string", | ||
"enum": [ | ||
"jwt", | ||
"web", | ||
"token", | ||
"unknown" | ||
] | ||
}, | ||
"error": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Optional<AnyJson>": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/AnyJson" | ||
}, | ||
{ | ||
"not": {} | ||
} | ||
], | ||
"description": "A union type for either the parameterized type `T` or `undefined` -- the opposite of {@link NonOptional } ." | ||
}, | ||
"AnyJson": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/JsonPrimitive" | ||
}, | ||
{ | ||
"$ref": "#/definitions/JsonCollection" | ||
} | ||
], | ||
"description": "Any valid JSON value." | ||
}, | ||
"JsonPrimitive": { | ||
"type": [ | ||
"null", | ||
"boolean", | ||
"number", | ||
"string" | ||
], | ||
"description": "Any valid JSON primitive value." | ||
}, | ||
"JsonCollection": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/JsonMap" | ||
}, | ||
{ | ||
"$ref": "#/definitions/JsonArray" | ||
} | ||
], | ||
"description": "Any valid JSON collection value." | ||
}, | ||
"JsonMap": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/Optional%3CAnyJson%3E" | ||
}, | ||
"properties": {}, | ||
"description": "Any JSON-compatible object." | ||
}, | ||
"JsonArray": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/AnyJson" | ||
}, | ||
"description": "Any JSON-compatible array." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$ref": "#/definitions/OpenResult", | ||
"definitions": { | ||
"OpenResult": { | ||
"type": "object", | ||
"properties": { | ||
"url": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"url" | ||
], | ||
"additionalProperties": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters