<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:13:09 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-1411] Add JSON Schemas to RAML for mod-ebsco-kb</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1411</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;In order for mod-graphql to be able to generate GraphQL Schema corresponding to the mod-ebsco-kb RAML, that specification needs to be extended with JSON Schemas describing the form of the returned records. (These are used to determine which fields can be requested.)&lt;/p&gt;

&lt;p&gt;The RAML is found at &lt;a href=&quot;https://github.com/folio-org/mod-inventory-storage/blob/master/ramls/instance-storage.raml&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/mod-inventory-storage/blob/master/ramls/instance-storage.raml&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="80866">FOLIO-1411</key>
            <summary>Add JSON Schemas to RAML for mod-ebsco-kb</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="557058:3fa4d9bc-e660-4f89-a75a-21080915d6e6">Charles Lowell</assignee>
                                                                <reporter accountid="5bffed52a1b46046f530c8f7">Mike Taylor</reporter>
                                    <labels>
                            <label>frontside</label>
                            <label>stripes-force</label>
                    </labels>
                <created>Thu, 9 Aug 2018 17:22:04 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:54 +0000</updated>
                            <resolved>Mon, 27 Aug 2018 11:57:30 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                                                            <comment id="195050" author="5bffed52a1b46046f530c8f7" created="Thu, 9 Aug 2018 17:22:45 +0000"  >&lt;p&gt;(Initially assigned to &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A3fa4d9bc-e660-4f89-a75a-21080915d6e6&quot; class=&quot;user-hover&quot; rel=&quot;557058:3fa4d9bc-e660-4f89-a75a-21080915d6e6&quot; data-account-id=&quot;557058:3fa4d9bc-e660-4f89-a75a-21080915d6e6&quot; accountid=&quot;557058:3fa4d9bc-e660-4f89-a75a-21080915d6e6&quot; rel=&quot;noreferrer&quot;&gt;Charles Lowell&lt;/a&gt; &amp;#8211; Charles, feel free to reassign as works best for you.)&lt;/p&gt;</comment>
                                                            <comment id="195053" author="5bffed52a1b46046f530c8f7" created="Thu, 9 Aug 2018 17:23:56 +0000"  >&lt;p&gt;Here&apos;s a worked example of how JSON Schemas are used in this context. (It&apos;s test-case #6 from mod-graphql).&lt;/p&gt;

&lt;p&gt;I feed it the RAML&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
title: simple API  

schemas:
  - personSchema: !include schemas/person.json

/person:
  get:
    queryParameters:
      name:
      maxCount: {type: number}
      queryString: {type: string}
    responses:
      200:
        body:
          application/json:
            schema: personSchema
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And it pulls in the nominated JSON Schema `schemas/person.json` which says:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{
  &lt;span class=&quot;code-quote&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;object&quot;&lt;/span&gt;,
  &lt;span class=&quot;code-quote&quot;&gt;&quot;$schema&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;http:&lt;span class=&quot;code-comment&quot;&gt;//json-schema.org/draft-03/schema&quot;&lt;/span&gt;,
&lt;/span&gt;  &lt;span class=&quot;code-quote&quot;&gt;&quot;properties&quot;&lt;/span&gt;: {
    &lt;span class=&quot;code-quote&quot;&gt;&quot;name&quot;&lt;/span&gt;: {
      &lt;span class=&quot;code-quote&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;string&quot;&lt;/span&gt;
    },
    &lt;span class=&quot;code-quote&quot;&gt;&quot;address&quot;&lt;/span&gt;: {
      &lt;span class=&quot;code-quote&quot;&gt;&quot;type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;string&quot;&lt;/span&gt;
    }
  },
  &lt;span class=&quot;code-quote&quot;&gt;&quot;required&quot;&lt;/span&gt;: [
    &lt;span class=&quot;code-quote&quot;&gt;&quot;name&quot;&lt;/span&gt;
  ]
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And the mod-graphql translator spits out the corresponding GraphQL schema:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
# title: simple API

type Query {
  person(name: &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;, maxCount: &lt;span class=&quot;code-object&quot;&gt;Float&lt;/span&gt;, queryString: &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;): TpersonSchema
}

type TpersonSchema {
  address: &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;
  name: &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt;!
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;where the field-names &lt;tt&gt;address&lt;/tt&gt; and &lt;tt&gt;name&lt;/tt&gt; (and their types) are drawn from the JSON Schema.&lt;/p&gt;</comment>
                                                            <comment id="195056" author="62a96ae7192edb006f9f1bf9" created="Tue, 21 Aug 2018 19:13:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5bffed52a1b46046f530c8f7&quot; class=&quot;user-hover&quot; rel=&quot;5bffed52a1b46046f530c8f7&quot; data-account-id=&quot;5bffed52a1b46046f530c8f7&quot; accountid=&quot;5bffed52a1b46046f530c8f7&quot; rel=&quot;noreferrer&quot;&gt;Mike Taylor&lt;/a&gt; - will 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UIEH-527&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UIEH-527&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Write JSON Schema for GET Providers&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UIEH-527
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
 partially address this request?&lt;/p&gt;</comment>
                                                            <comment id="195059" author="5bffed52a1b46046f530c8f7" created="Wed, 22 Aug 2018 10:13:28 +0000"  >&lt;p&gt;Yes, it will! I&apos;ll comment further over on that issue. Thanks.&lt;/p&gt;</comment>
                                                            <comment id="195061" author="5bffed52a1b46046f530c8f7" created="Mon, 27 Aug 2018 11:57:12 +0000"  >&lt;p&gt;We now have JSON Schemas for at least &lt;em&gt;some&lt;/em&gt; of the eHoldings RAML. I&apos;m calling that &quot;good enough&quot; for now. We can close this issue, and once we have GraphQL working properly for the fully specced endpoints, we&apos;ll file a new one for filling in the rest of the JSON Schemas.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="35065">MODGQL-47</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="51412">UIEH-527</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzysof:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 21 Aug 2018 19:13:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>