1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  JobService v1.0.6                                                   -->
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                                   -->
8<!--# Copyright 2014-2024 DMTF.                                                            -->
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      <Annotation Term="Redfish.Language" String="en"/>
39
40      <EntityType Name="JobService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
41        <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."/>
42        <Annotation Term="OData.LongDescription" String="This resource shall represent a job service for a Redfish implementation."/>
43        <Annotation Term="Capabilities.InsertRestrictions">
44          <Record>
45            <PropertyValue Property="Insertable" Bool="false"/>
46          </Record>
47        </Annotation>
48        <Annotation Term="Capabilities.UpdateRestrictions">
49          <Record>
50            <PropertyValue Property="Updatable" Bool="true"/>
51            <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."/>
52          </Record>
53        </Annotation>
54        <Annotation Term="Capabilities.DeleteRestrictions">
55          <Record>
56            <PropertyValue Property="Deletable" Bool="false"/>
57          </Record>
58        </Annotation>
59        <Annotation Term="Redfish.Uris">
60          <Collection>
61            <String>/redfish/v1/JobService</String>
62          </Collection>
63        </Annotation>
64      </EntityType>
65    </Schema>
66
67    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_0">
68      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
69      <Annotation Term="Redfish.Release" String="2018.2"/>
70
71      <EntityType Name="JobService" BaseType="JobService.JobService">
72        <Property Name="DateTime" Type="Edm.DateTimeOffset">
73          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
74          <Annotation Term="OData.Description" String="The current date and time setting for the job service."/>
75          <Annotation Term="OData.LongDescription" String="This property shall contain the current date and time setting for the job service."/>
76        </Property>
77        <Property Name="ServiceEnabled" Type="Edm.Boolean">
78          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
79          <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/>
80          <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/>
81        </Property>
82        <Property Name="ServiceCapabilities" Type="JobService.v1_0_0.JobServiceCapabilities" Nullable="false">
83          <Annotation Term="OData.Description" String="The supported capabilities of this job service implementation."/>
84          <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe the capabilities or supported features of this implementation of a job service."/>
85        </Property>
86        <Property Name="Status" Type="Resource.Status" Nullable="false">
87          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
88          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
89        </Property>
90        <NavigationProperty Name="Log" Type="LogService.LogService" Nullable="false">
91          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
92          <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 to a log service under another resource, such as a manager."/>
93          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type `LogService` that this job service uses."/>
94          <Annotation Term="OData.AutoExpandReferences"/>
95        </NavigationProperty>
96        <NavigationProperty Name="Jobs" Type="JobCollection.JobCollection" ContainsTarget="true" Nullable="false">
97          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
98          <Annotation Term="OData.Description" String="The links to the jobs collection."/>
99          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `JobCollection`."/>
100          <Annotation Term="OData.AutoExpandReferences"/>
101        </NavigationProperty>
102        <Property Name="Actions" Type="JobService.v1_0_0.Actions" Nullable="false">
103          <Annotation Term="OData.Description" String="The available actions for this resource."/>
104          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
105        </Property>
106      </EntityType>
107
108      <ComplexType Name="JobServiceCapabilities">
109        <Annotation Term="OData.Description" String="The supported capabilities of this job service implementation."/>
110        <Annotation Term="OData.LongDescription" String="This type shall contain properties that describe the capabilities or supported features of this implementation of a job service."/>
111        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
112        <Property Name="MaxJobs" Type="Edm.Int64">
113          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
114          <Annotation Term="OData.Description" String="The maximum number of jobs supported."/>
115          <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of jobs supported by the implementation."/>
116        </Property>
117        <Property Name="MaxSteps" Type="Edm.Int64">
118          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
119          <Annotation Term="OData.Description" String="The maximum number of job steps supported."/>
120          <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of steps supported by a single job instance."/>
121        </Property>
122        <Property Name="Scheduling" Type="Edm.Boolean">
123          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
124          <Annotation Term="OData.Description" String="An indication of whether scheduling of jobs is supported."/>
125          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the `Schedule` property within the job supports scheduling of jobs."/>
126        </Property>
127      </ComplexType>
128
129      <ComplexType Name="Actions">
130        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
131        <Annotation Term="OData.Description" String="The available actions for this resource."/>
132        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
133        <Property Name="Oem" Type="JobService.v1_0_0.OemActions" Nullable="false">
134          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
135          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
136        </Property>
137      </ComplexType>
138
139      <ComplexType Name="OemActions">
140        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
141        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
142        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
143      </ComplexType>
144    </Schema>
145
146    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_1">
147      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
148      <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."/>
149      <EntityType Name="JobService" BaseType="JobService.v1_0_0.JobService"/>
150    </Schema>
151
152    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_2">
153      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
154      <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."/>
155      <EntityType Name="JobService" BaseType="JobService.v1_0_1.JobService"/>
156    </Schema>
157
158    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_3">
159      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
160      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
161      <EntityType Name="JobService" BaseType="JobService.v1_0_2.JobService"/>
162    </Schema>
163
164    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_4">
165      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
166      <Annotation Term="OData.Description" String="This version was created to specify 64-bit integers in OpenAPI."/>
167      <EntityType Name="JobService" BaseType="JobService.v1_0_3.JobService"/>
168    </Schema>
169
170    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_5">
171      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
172      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
173      <EntityType Name="JobService" BaseType="JobService.v1_0_4.JobService"/>
174    </Schema>
175
176    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_6">
177      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
178      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
179      <EntityType Name="JobService" BaseType="JobService.v1_0_5.JobService"/>
180    </Schema>
181
182  </edmx:DataServices>
183</edmx:Edmx>
184