blob: 1ba908d7a205af24dc008350478ecdacbc14457f [file] [log] [blame]
Ed Tanous530520e2019-01-02 13:41:37 -08001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: JobService v1.0.2 -->
Ed Tanous530520e2019-01-02 13:41:37 -08005<!--# -->
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 Tanouscb103132019-10-08 11:34:22 -07008<!--# Copyright 2014-2019 DMTF. -->
Ed Tanous530520e2019-01-02 13:41:37 -08009<!--# 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">
Ed Tanouscb103132019-10-08 11:34:22 -070040 <Annotation Term="OData.Description" String="The Redfish Job Service enables the scheduling and execution of operations, represents the properties for the Job Service itself, and has links to the actual Resource Collection of Jobs."/>
41 <Annotation Term="OData.LongDescription" String="This Resource shall represent a Job Service for a Redfish implementation."/>
Ed Tanous530520e2019-01-02 13:41:37 -080042 <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"/>
Ed Tanouscb103132019-10-08 11:34:22 -070050 <Annotation Term="OData.Description" String="The Job Service can be updated to enable or disable the service, though some implementations may fail the update operation."/>
Ed Tanous530520e2019-01-02 13:41:37 -080051 </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 Raod45d2d02019-01-21 10:11:34 -060068 <Annotation Term="Redfish.Release" String="2018.2"/>
Ed Tanous530520e2019-01-02 13:41:37 -080069 <EntityType Name="JobService" BaseType="JobService.JobService">
Ed Tanous530520e2019-01-02 13:41:37 -080070 <Property Name="DateTime" Type="Edm.DateTimeOffset">
71 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070072 <Annotation Term="OData.Description" String="The current date and time, with UTC offset, setting that the Job Service uses."/>
73 <Annotation Term="OData.LongDescription" String="This property shall represent the current DateTime value for the Job Service, with UTC offset, in Redfish Timestamp format."/>
Ed Tanous530520e2019-01-02 13:41:37 -080074 </Property>
75 <Property Name="ServiceEnabled" Type="Edm.Boolean">
76 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Ed Tanouscb103132019-10-08 11:34:22 -070077 <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/>
78 <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/>
Ed Tanous530520e2019-01-02 13:41:37 -080079 </Property>
80 <Property Name="ServiceCapabilities" Type="JobService.v1_0_0.JobServiceCapabilities" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070081 <Annotation Term="OData.Description" String="The supported capabilities of this Job Service implementation."/>
82 <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 Tanous530520e2019-01-02 13:41:37 -080083 </Property>
84 <Property Name="Status" Type="Resource.Status" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070085 <Annotation Term="OData.Description" String="The status and health of the Resource and its subordinate or dependent Resources."/>
86 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -080087 </Property>
Ed Tanouscb103132019-10-08 11:34:22 -070088 <NavigationProperty Name="Log" Type="LogService.LogService" Nullable="false">
Ed Tanous530520e2019-01-02 13:41:37 -080089 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070090 <Annotation Term="OData.Description" String="The link to a Log Service that the Job Service uses. This service may be a dedicated Log Service or a pointer a Log Service under another entity, such as Manager."/>
91 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Log Service that this Job Service uses."/>
Ed Tanous530520e2019-01-02 13:41:37 -080092 <Annotation Term="OData.AutoExpandReferences"/>
93 </NavigationProperty>
94 <NavigationProperty Name="Jobs" Type="JobCollection.JobCollection" ContainsTarget="true" Nullable="false">
95 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070096 <Annotation Term="OData.Description" String="The links to the Jobs collection."/>
97 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Resource of type JobCollection."/>
Ed Tanous530520e2019-01-02 13:41:37 -080098 <Annotation Term="OData.AutoExpandReferences"/>
99 </NavigationProperty>
100 <Property Name="Actions" Type="JobService.v1_0_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700101 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
102 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800103 </Property>
104 </EntityType>
105
106 <ComplexType Name="JobServiceCapabilities">
Ed Tanouscb103132019-10-08 11:34:22 -0700107 <Annotation Term="OData.Description" String="The supported capabilities of this Job Service implementation."/>
108 <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 Tanous530520e2019-01-02 13:41:37 -0800109 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
110 <Property Name="MaxJobs" Type="Edm.Int64">
111 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700112 <Annotation Term="OData.Description" String="The maximum number of jobs supported."/>
113 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of jobs supported by the implementation."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800114 </Property>
115 <Property Name="MaxSteps" Type="Edm.Int64">
116 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700117 <Annotation Term="OData.Description" String="The maximum number of job steps supported."/>
118 <Annotation Term="OData.LongDescription" String="This property shall contain the maximum number of steps supported by a single job instance."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800119 </Property>
120 <Property Name="Scheduling" Type="Edm.Boolean">
121 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700122 <Annotation Term="OData.Description" String="An indication of whether scheduling of jobs is supported."/>
123 <Annotation Term="OData.LongDescription" String="This property shall indicate whether the Schedule property within the job supports scheduling of jobs."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800124 </Property>
125 </ComplexType>
126
127 <ComplexType Name="Actions">
128 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700129 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
130 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800131 <Property Name="Oem" Type="JobService.v1_0_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700132 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
133 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800134 </Property>
135 </ComplexType>
136
137 <ComplexType Name="OemActions">
138 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700139 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
140 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800141 </ComplexType>
142 </Schema>
143
Ed Tanouscb103132019-10-08 11:34:22 -0700144 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_1">
145 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
146 <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."/>
147 <EntityType Name="JobService" BaseType="JobService.v1_0_0.JobService"/>
148 </Schema>
149
150 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="JobService.v1_0_2">
151 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
152 <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."/>
153 <EntityType Name="JobService" BaseType="JobService.v1_0_1.JobService"/>
154 </Schema>
155
Ed Tanous530520e2019-01-02 13:41:37 -0800156 </edmx:DataServices>
157</edmx:Edmx>