Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 4 | <!--# Redfish Schema: JobService v1.0.3 --> |
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 --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 8 | <!--# Copyright 2014-2020 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/RedfishExtensions_v1.xml"> |
| 21 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 22 | </edmx:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 24 | <edmx:Include Namespace="Resource"/> |
| 25 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 26 | </edmx:Reference> |
| 27 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/JobCollection_v1.xml"> |
| 28 | <edmx:Include Namespace="JobCollection"/> |
| 29 | </edmx:Reference> |
| 30 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/LogService_v1.xml"> |
| 31 | <edmx:Include Namespace="LogService"/> |
| 32 | </edmx:Reference> |
| 33 | |
| 34 | <edmx:DataServices> |
| 35 | |
| 36 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService"> |
| 37 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 38 | |
| 39 | <EntityType Name="JobService" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 40 | <Annotation Term="OData.Description" String="The JobService schema contains properties for scheduling and execution of operations, represents the properties for the job service itself, and has links to jobs managed by the job service."/> |
| 41 | <Annotation Term="OData.LongDescription" String="This resource shall represent a job service for a Redfish implementation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 42 | <Annotation Term="Capabilities.InsertRestrictions"> |
| 43 | <Record> |
| 44 | <PropertyValue Property="Insertable" Bool="false"/> |
| 45 | </Record> |
| 46 | </Annotation> |
| 47 | <Annotation Term="Capabilities.UpdateRestrictions"> |
| 48 | <Record> |
| 49 | <PropertyValue Property="Updatable" Bool="true"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 50 | <Annotation Term="OData.Description" String="The job service can be updated to enable or disable the service, though some implementations might fail the update operation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 51 | </Record> |
| 52 | </Annotation> |
| 53 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 54 | <Record> |
| 55 | <PropertyValue Property="Deletable" Bool="false"/> |
| 56 | </Record> |
| 57 | </Annotation> |
| 58 | <Annotation Term="Redfish.Uris"> |
| 59 | <Collection> |
| 60 | <String>/redfish/v1/JobService</String> |
| 61 | </Collection> |
| 62 | </Annotation> |
| 63 | </EntityType> |
| 64 | </Schema> |
| 65 | |
| 66 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_0"> |
| 67 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 68 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 69 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 70 | <EntityType Name="JobService" BaseType="JobService.JobService"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 71 | <Property Name="DateTime" Type="Edm.DateTimeOffset"> |
| 72 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 73 | <Annotation Term="OData.Description" String="The current date and time setting for the job service."/> |
| 74 | <Annotation Term="OData.LongDescription" String="This property shall contain the current date and time setting for the job service."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 75 | </Property> |
| 76 | <Property Name="ServiceEnabled" Type="Edm.Boolean"> |
| 77 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 78 | <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/> |
| 79 | <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 80 | </Property> |
| 81 | <Property Name="ServiceCapabilities" Type="JobService.v1_0_0.JobServiceCapabilities" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 82 | <Annotation Term="OData.Description" String="The supported capabilities of this job service implementation."/> |
| 83 | <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe the capabilities or supported features of this implementation of a job service."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 84 | </Property> |
| 85 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 86 | <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> |
| 87 | <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 88 | </Property> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 89 | <NavigationProperty Name="Log" Type="LogService.LogService" Nullable="false"> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 90 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 91 | <Annotation Term="OData.Description" String="The link to a log service that the job service uses. This service can be a dedicated log service or a pointer a log service under another resource, such as a manager."/> |
| 92 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type LogService that this job service uses."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 93 | <Annotation Term="OData.AutoExpandReferences"/> |
| 94 | </NavigationProperty> |
| 95 | <NavigationProperty Name="Jobs" Type="JobCollection.JobCollection" ContainsTarget="true" Nullable="false"> |
| 96 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 97 | <Annotation Term="OData.Description" String="The links to the jobs collection."/> |
| 98 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type JobCollection."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 99 | <Annotation Term="OData.AutoExpandReferences"/> |
| 100 | </NavigationProperty> |
| 101 | <Property Name="Actions" Type="JobService.v1_0_0.Actions" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 102 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 103 | <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 104 | </Property> |
| 105 | </EntityType> |
| 106 | |
| 107 | <ComplexType Name="JobServiceCapabilities"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 108 | <Annotation Term="OData.Description" String="The supported capabilities of this job service implementation."/> |
| 109 | <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe the capabilities or supported features of this implementation of a job service."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 110 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 111 | <Property Name="MaxJobs" Type="Edm.Int64"> |
| 112 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 113 | <Annotation Term="OData.Description" String="The maximum number of jobs supported."/> |
| 114 | <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of jobs supported by the implementation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 115 | </Property> |
| 116 | <Property Name="MaxSteps" Type="Edm.Int64"> |
| 117 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 118 | <Annotation Term="OData.Description" String="The maximum number of job steps supported."/> |
| 119 | <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of steps supported by a single job instance."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 120 | </Property> |
| 121 | <Property Name="Scheduling" Type="Edm.Boolean"> |
| 122 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 123 | <Annotation Term="OData.Description" String="An indication of whether scheduling of jobs is supported."/> |
| 124 | <Annotation Term="OData.LongDescription" String="This property shall indicate whether the Schedule property within the job supports scheduling of jobs."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 125 | </Property> |
| 126 | </ComplexType> |
| 127 | |
| 128 | <ComplexType Name="Actions"> |
| 129 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 130 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 131 | <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 132 | <Property Name="Oem" Type="JobService.v1_0_0.OemActions" Nullable="false"> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 133 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 134 | <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 135 | </Property> |
| 136 | </ComplexType> |
| 137 | |
| 138 | <ComplexType Name="OemActions"> |
| 139 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 140 | <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> |
| 141 | <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 142 | </ComplexType> |
| 143 | </Schema> |
| 144 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 145 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_1"> |
| 146 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 147 | <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format. It was also created to correct the resource description."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 148 | <EntityType Name="JobService" BaseType="JobService.v1_0_0.JobService"/> |
| 149 | </Schema> |
| 150 | |
| 151 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_2"> |
| 152 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 153 | <Annotation Term="OData.Description" String="This version was created to update the description of the Log property. It was also created to update descriptions that this schema defines."/> |
| 154 | <EntityType Name="JobService" BaseType="JobService.v1_0_1.JobService"/> |
| 155 | </Schema> |
| 156 | |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 157 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_3"> |
| 158 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 159 | <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> |
| 160 | <EntityType Name="JobService" BaseType="JobService.v1_0_2.JobService"/> |
| 161 | </Schema> |
| 162 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 163 | </edmx:DataServices> |
| 164 | </edmx:Edmx> |