Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 4 | <!--# Redfish Schema: JobCollection --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 5 | <!--# --> |
| 6 | <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> |
| 7 | <!--# available at http://www.dmtf.org/standards/redfish --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 8 | <!--# Copyright 2014-2019 DMTF. --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 9 | <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> |
| 10 | <!--################################################################################ --> |
| 11 | <!----> |
| 12 | <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> |
| 13 | |
| 14 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml"> |
| 15 | <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/> |
| 16 | </edmx:Reference> |
| 17 | <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml"> |
| 18 | <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/> |
| 19 | </edmx:Reference> |
| 20 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 21 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 22 | </edmx:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> |
| 24 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 25 | </edmx:Reference> |
| 26 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Job_v1.xml"> |
| 27 | <edmx:Include Namespace="Job"/> |
| 28 | </edmx:Reference> |
| 29 | |
| 30 | <edmx:DataServices> |
| 31 | |
| 32 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobCollection"> |
| 33 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 34 | |
| 35 | <EntityType Name="JobCollection" BaseType="Resource.v1_0_0.ResourceCollection"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 36 | <Annotation Term="OData.Description" String="The collection of Job Resource instances."/> |
| 37 | <Annotation Term="OData.LongDescription" String="This Resource shall represent a Resource Collection of Job instances for a Redfish implementation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 38 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 39 | <Record> |
| 40 | <PropertyValue Property="Insertable" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 41 | <Annotation Term="OData.Description" String="Create jobs through a POST to the job collection."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 42 | </Record> |
| 43 | </Annotation> |
| 44 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 45 | <Record> |
| 46 | <PropertyValue Property="Updatable" Bool="false"/> |
| 47 | </Record> |
| 48 | </Annotation> |
| 49 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 50 | <Record> |
| 51 | <PropertyValue Property="Deletable" Bool="false"/> |
| 52 | </Record> |
| 53 | </Annotation> |
| 54 | <NavigationProperty Name="Members" Type="Collection(Job.Job)"> |
| 55 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 56 | <Annotation Term="OData.Description" String="The members of this collection."/> |
| 57 | <Annotation Term="OData.LongDescription" String="This property shall contain an array of links to the members of this collection."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 58 | <Annotation Term="OData.AutoExpandReferences"/> |
| 59 | <Annotation Term="Redfish.Required"/> |
| 60 | </NavigationProperty> |
| 61 | <Annotation Term="Redfish.Uris"> |
| 62 | <Collection> |
| 63 | <String>/redfish/v1/JobService/Jobs</String> |
| 64 | <String>/redfish/v1/JobService/Jobs/{JobId}/Steps</String> |
| 65 | </Collection> |
| 66 | </Annotation> |
| 67 | </EntityType> |
| 68 | |
| 69 | </Schema> |
| 70 | </edmx:DataServices> |
| 71 | </edmx:Edmx> |